package com.gccloud.design.dto;

import com.gccloud.design.entity.SdApiAuthRuleEntity;
import com.gccloud.design.entity.SdApiCallRuleEntity;
import com.gccloud.design.entity.SdApiCompRuleEntity;
import com.gccloud.design.entity.SdApiExphRuleEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @author guo.wang
 */
@Data
@Accessors(chain = true)
public class PolicyListDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("安全策略集合")
    private List<SdApiAuthRuleEntity> sdApiAuthRuleList;

    @ApiModelProperty("异常处理策略集合")
    private List<SdApiExphRuleEntity> sdApiExphRuleList;

    @ApiModelProperty("补偿集合")
    private List<SdApiCompRuleEntity> sdApiCompRuleList;

    @ApiModelProperty("调用机制集合")
    private List<SdApiCallRuleEntity> sdApiCallRuleList;

    @ApiModelProperty("API主键")
    private Long apiId;
}
